﻿using System.Web.Mvc;

namespace KMF.WebUI.Areas.KMFadmin
{
    public class KMFadminAreaRegistration : AreaRegistration
    {
        public override string AreaName
        {
            get
            {
                return "KMFadmin";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            //Home
            context.MapRoute(
                "KMFadmin_default",
                "KMFadmin/{controller}/{action}/{id}",
                new { controller = "AdminLogin", action = "Login", id = UrlParameter.Optional }
            );
        }
    }
}
